import Vue from 'vue'
import App from './App.vue'
import VueSocketIO from 'vue-socket.io';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import socketio from 'socket.io-client';

// Vue.use(VueSocketio, socketio('http://localhost:3000'));

Vue.config.productionTip = false

Vue.use(ElementUI);
Vue.use(new VueSocketIO({

  debug: true,

  connection: 'http://localhost:3000',


}))

new Vue({
  render: h => h(App)
}).$mount('#app')
